const express = require('express');
const ParseServer = require('parse-server').ParseServer;
const Config = require('../config');

let app = express();
let api = new ParseServer(Config.parse);

app.use(Config.parseLink, api);

const port = Config.port;
app.listen(port, () => {
   console.log(`parse-server start, running on port: ${port}`);
});
